package cn.jhc.teachingquality.bean;

/**
 * Created by luyanfei on 16-4-18.
 */
public class Student {
    /**
     * DUMMY序号为0,无用。
     * 正常上课，请假，旷课，迟到，早退，迟到并早退
     */
    public enum RollStatus {
        DUMMY,NORMAL,ASKING_OFF,TRUANT,ARRIVE_LATE,LEAVE_EARLY,ARRIVE_LATE_AND_LEAVE_EARLY;
    }

    private String id;
    private String name;
    //默认为正常上课状态。
    private RollStatus rollStatus = RollStatus.NORMAL;

    public Student(String id, String name) {
        this.id = id;
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public RollStatus getRollStatus() {
        return rollStatus;
    }

    public void setRollStatus(RollStatus rollStatus) {
        this.rollStatus = rollStatus;
    }
}
